from django.shortcuts import render, HttpResponse
from dj31.utils.captcha.captcha import captcha
from django_redis import get_redis_connection

# 导入日志器
import logging
logger = logging.getLogger('django')
# Create your views here.


def index(request):
    return render(request, 'news/index.html')

def register(request):
    return render(request, 'users/register.html')

def login(request):
    return render(request, 'users/login.html')




